﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Domain.Entitys.Inv
{
    /// <summary>
    /// 盘点详情
    /// </summary>
    public class inv_proddti
    {
        [Key]
        public int Proddti_id { get; set; }
        public int Qty_id { get; set; }
        public string Pro_name { get; set; }
        public string Pro_code { get; set; }
        public string Pro_brand { get; set; }
        public string Unitmeas_id { get; set; }
        public string Pro_model { get; set; }
        public decimal Pro_cost_price { get; set; }
        public decimal Pro_sale_price { get; set; }
      
        public string Location_code { get; set; }

        public string Location_name { get; set; }
        //盘点数量  
        public decimal Inventory_numder { get; set; }
        //盘亏数量
        public decimal Proddti_loss { get; set; }
        //盘盈数量
        public decimal Proddti_profit { get; set; }
        //盘盈金额
        public decimal Proddti_profit_money { get; set; }
        //盘亏金额
        public decimal Proddti_loss_money { get; set; }

        public string stock_entry_no { get; set; }
        /// <summary>
        /// 导航属性（指向主表）
        /// </summary>
        [JsonIgnore]
        public Inv_qty Main { get; set; }
    }
}
